import xlrd

def getExcel():
	excel = xlrd.open_workbook('excelFile.xls')

def getSheet():
	table = excel.sheets()[0]          #通过索引顺序获取
    table = excel.sheet_by_index(0) #通过索引顺序获取
	table = excel.sheet_by_name(u'Sheet1')#通过名称获取

def getSheetLength():
	nrows = table.nrows
 	ncols = table.ncols

def getSheetAllData():
	table.row_values(i)
	table.col_values(i)

def getCell():
	cell_A1 = table.cell(0,0).value
	cell_C4 = table.cell(2,3).value